//
//  MTUser.swift
//  PPKit
//
//  Created by cdmac on 16/8/17.
//  Copyright © 2016年 chinadailyhk. All rights reserved.
//  https://gitee.com/xiaopindev/PPKit
//  https://github.com/xiaopindev
//  https://xiaopin.cnblogs.com

import HandyJSON

//通用的用户对象
class XPBaseUser: HandyJSON {
    
    var token:String?
    var logintype:LoginType = .unkown
    var userID:String?
    var user_id:Int = 0
    var loginName:String?
    var password:String?
    var headImgUrl:String?
    var name:String?
    var nickName:String?
    var gender:Int = 0  //0女1男
    var email:String?
    var mobile:String?
    var telephone:String?
    var qq:String?
    var weixin:String?
    var weibo:String?
    
    var validateCode:String?
    
    var thirdLoginType:String?      //1.微信，2.微博，3.QQ
    var thirdLoginAccount:String?
    var thirdLoginNickName:String?
    var thirdLoginAvatar:String?
    
    required init() {
        
    }
}
